<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> 
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>


<div>
  <ul id="pageList">
		<c:forEach var = "listElement" items = "${requestScope.giftPage}" varStatus="counter">
			<li>
				<a href="<c:url value="/ViewDeleteGift.do?page=${counter.count}"/>">${counter.count}</a>
			</li>
		</c:forEach>  
	</ul>
</div>
<br /> 
<c:forEach var = "listElement" items = "${requestScope.giftList}">
<table class="newsadmin">
    <tr class="newshead">
        <td>
        <c:out value="${listElement.name}"/>
        </td>
        <td class="newsdate">
        	Euro  <c:out value="${listElement.price}"/>
        </td>
    </tr>
    <tr class="newsdes">
        <td colspan="2">
        	<c:out value="${listElement.description}"/>
        </td>
        
        <tr>
           <td colspan="2">
        	<a href="${listElement.link}"><c:out value="${listElement.link}"/></a>
        </td>
    </tr>
     <tr>
    <td colspan="2">
      <a href="${listElement.link_name}"><c:out value="${listElement.link_name}"/></a></td>
  	</tr>
    <tr class="newsbottom">
   
    <td>
     <!-- <input type="image" src="img/cancel.png" alt="delete" id="i<[id]>" class="deletebtngift" />-->
     <a href="<c:url value="/DeleteGift.do?id=${listElement.id}"/>"><bean:message key="Delgift.label"/></a>
		      
    </td>
    </tr>
</table>
<br />
</c:forEach>
<div>
  <ul id="pageList">
		<c:forEach var = "listElement" items = "${requestScope.giftPage}" varStatus="counter">
			<li>
				<a href="<c:url value="/ShowGift.do?page=${counter.count}"/>">${counter.count}</a>
			</li>
		</c:forEach>  
	</ul>
</div>
